# grinpy.invariants.disparity.closed_inverse_disparity¶

grinpy.invariants.disparity.closed_inverse_disparity(G)

Return the closed inverse disparity of the graph.

The closed inverse disparity of a graph is defined as:

$\sum_{v \in V(G)}$

rac{1}{cdisp(v)}

where V(G) is the set of nodes of G and cdisp(v) is the closed disparity of the vertex v.

G : graph
A Networkx graph.
closedInverseDisparity : float
The closed inverse disparity of the graph.

CW_disparity, closed_CW_disparity, inverse_disparity