tnetwork.DynGraphIG.add_interactions_from

DynGraphIG.add_interactions_from(nodePairs, times)[source]

Add interactions between provided pairs for the provided periods

Add each provided nodePair at each provided time

param nodePairs:
 list of pairs of nodes, or a single pair of nodes as a tuple or set
param times:a single time or a list of times, as pair (start,end) or an Interval Object