tnetwork.DynGraphSN.add_nodes_presence_from

DynGraphSN.add_nodes_presence_from(nodes, times)[source]

Add nodes for times

For each node in nodes, add it for each time in times.

Parameters:
  • nodes – list of nodes, or a single node
  • times – list of times of same length as node, or a single time