tnetwork.ComScenario.THESEUS

ComScenario.THESEUS(theComTh: tnetwork.DCD.community.Community, nbNodes=None, wait_step=1, delay=1, **kwargs)[source]

Create a theseus ship operation.

Parameters:
  • theComTh – the community to modify
  • nbNodes – the number of nodes to be replaced
  • delay – the waiting time before the first change
  • wait_step – the waiting time between each node replacement
Returns:

a tuple of snapshot_affiliations, current ship, new ship