You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Closeness Centrality of a node V is the reciprocal of the sum of all the distances from the possible shortest paths starting from V. Thus the higher the centrality value of V, the closer it is to all the other vertices in the graph.
Signature
Input Argument
Type
Comment
G
graph
the graph.
Output Argument
Type
Comment
cc
vertexProp
node property holding the closeness centrality value for each node.
Return Value
Type
Comment
bool
returns true if the graph is connected, false otherwise.