tnetwork.ComScenario.SHRINK_ITERATIVE¶
-
ComScenario.
SHRINK_ITERATIVE
(com, nb_nodes2remove, wait_step=1, delay=1, **kwargs)[source]¶ Make a community shrink node by node
The community com lose nodes2add nodes one by one, with an interval delay between each :param com: community to shrink :param nodes2remove: nb nodes to remove :param delay: the waiting time before the first change :param wait_step: the waiting time between each node removal :return: