grinpy.invariants.disparity.disparity_sequence

grinpy.invariants.disparity.disparity_sequence(G)

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

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

closed_disparity_sequence, vertex_disparity