grinpy.invariants.disparity.disparity_sequence

grinpy.invariants.disparity.disparity_sequence(G)

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

Parameters:G (NetworkX graph) – An undirected graph.
Returns:The sequence of disparities of each node in the graph.
Return type:list