grinpy.invariants.residue.residue

grinpy.invariants.residue.residue(G)

Return the residue of G.

The residue of a graph G is the number of zeros obtained in final sequence of the Havel Hakimi process.

G : graph
A Networkx graph.
residue : int
The residue of G.

k_residue, havel_hakimi_process