grinpy.invariants.disparity.average_vertex_disparity

grinpy.invariants.disparity.average_vertex_disparity(G)

Return the average vertex disparity of the graph.

Parameters:G (NetworkX graph) – An undirected graph.
Returns:The average vertex disparity of the graph.
Return type:int