grinpy.invariants.disparity.closed_disparity_sequence

grinpy.invariants.disparity.closed_disparity_sequence(G)

Return the sequence of closed disparities of each node in the graph.

G : graph
A Networkx graph.
disparitySequence : list
The sequence of closed disparities of each node in the graph.

closed_vertex_disparity, disparity_sequence