grinpy.invariants.disparity.closed_vertex_disparity¶
-
grinpy.invariants.disparity.
closed_vertex_disparity
(G, v)¶ Return number of distinct degrees of nodes in the closed neighborhood of v.
- G : graph
- A Networkx graph.
v : a node in G
- closedDisparity : int
- The number of distinct degrees of nodes in the closed neighborhood of v.
vertex_disparity