dynetx.classes.function.non_neighbors¶
- dynetx.classes.function.non_neighbors(graph, node, t=None)¶
Returns the non-neighbors of the node in the graph at time t.
Parameters¶
- graphDyNetx graph
Graph to find neighbors.
- nodenode
The node whose neighbors will be returned.
- tsnapshot id (default=None)
If None the non-neighbors are identified on the flattened graph.
Returns¶
- non_neighborsiterator
Iterator of nodes in the graph that are not neighbors of the node.