tnetwork.DynGraphSN.remove_interactions_from

DynGraphSN.remove_interactions_from(nodePairs, times)[source]

Remove interactions between the provided node pairs for the provided times.

If one of the two parameters is a single element, will remove the node pair at all provided time steps, or all the node pairs at the provided time step.

Parameters:
  • nodePairs – list of pairs of nodes, or a single pair of nodes
  • times – list of times for this node, or a single time
Returns: