# grinpy.invariants.disparity.vertex_disparity¶

grinpy.invariants.disparity.vertex_disparity(G, v)

Return number of distinct degrees of neighbors of v.

Parameters: G (NetworkX graph) – An undirected graph. v (node) – A node in G. The number of distinct degrees of neighbors of v. int