grinpy.invariants.zero_forcing.is_zero_forcing_active_set¶
-
grinpy.invariants.zero_forcing.
is_zero_forcing_active_set
(G, nbunch)¶ Return whether or not at least one node in nbunch can force.
- G : graph
- A Networkx graph.
nbunch: a single node or iterable container of nodes in G
- isActive : bool
- True if at least one of the nodes in nbunch can force. False otherwise.