tnetwork.DynGraphLS.add_nodes_presence_from

DynGraphLS.add_nodes_presence_from(nodes, times)[source]

Add interactions between provided pairs for the provided periods

Parameters:
  • nodes – list of nodes, or a single node
  • times – list of times or a single time (integer)