tnetwork.DynGraphIG.add_nodes_presence_from

DynGraphIG.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 defined as couple (start, stop) , of same length as node, or a single time