grinpy.invariants.zero_forcing.is_k_forcing_vertex¶
-
grinpy.invariants.zero_forcing.
is_k_forcing_vertex
(G, v, nbunch, k)¶ Return whether or not v can k-force relative to the set of nodes in nbunch.
- G : graph
- A Networkx graph.
v : a single node in G
nbunch: a single node or iterable container of nodes in G.
- k : int
- A positive integer.
- isForcing : bool
- True if v can k-force relative to the nodes in nbunch. False otherwise.