grinpy.invariants.zero_forcing.is_zero_forcing_vertex¶
-
grinpy.invariants.zero_forcing.
is_zero_forcing_vertex
(G, v, nbunch)¶ Return whether or not v can force relative to the set of nodes in nbunch.
Parameters: - G (NetworkX graph) – An undirected graph.
- v (node) – A single node in G.
- nbunch – A single node or iterable container or nodes.
Returns: True if v can force relative to the nodes in nbunch. False otherwise.
Return type: boolean