tnetwork.ComScenario.INITIALIZE

ComScenario.INITIALIZE(sizes: [<class 'int'>], labels: [<class 'str'>] = None)[source]

Function to initialize the dynamic networks with communities that already exist at the beginning

Parameters:
  • sizes – list of the communities sizes (same order as names)
  • labels – list of the communities labels (if None, unique labels are given automatically)