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.
Parameters: - G (NetworkX graph) – An undirected graph.
- nbunch – A single node or iterable container or nodes.
Returns: True if at least one of the nodes in nbunch can force. False otherwise.
Return type: boolean