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.

G : graph
A Networkx graph.
minForcingSet : list
A smallest zero forcing set in G.