grinpy.invariants.zero_forcing.min_zero_forcing_set

grinpy.invariants.zero_forcing.min_zero_forcing_set(G)

Return a smallest zero forcing set in G.

The method used to compute the set is brute force.

Parameters:G (NetworkX graph) – An undirected graph.
Returns:A list of nodes in a smallest zero forcing set in G.
Return type:list