dynetx.classes.function.non_interactions

dynetx.classes.function.non_interactions(graph, t=None)

Returns the non-existent edges in the graph at time t.

Parameters:
  • graph (NetworkX graph.) – Graph to find non-existent edges.
  • t (snapshot id (default=None)) – If None the non-existent edges are identified on the flattened graph.
Returns:

non_edges – Iterator of edges that are not in the graph.

Return type:

iterator