Add support for closeness centrality
Add support for closeness centrality of a vertex, defined as
C_C(v)=\frac{1}{\sum_{t \in V}d_G(v,t)}
See http://en.wikipedia.org/wiki/Closeness_(graph_theory), for an algorithm and references.
Please use the issue tracker only to report bugs (i.e. errors in the library that need to be fixed) or feature requests.
Please check if the current git version also has the same problem. An easy way to do this is to use google colab!
For questions about how to compile, install or use the library, please use instead the web forum at https://forum.skewed.de/c/graph-tool.
(If unsure, use the forum first.)
IMPORTANT: When opening new issues, please choose the BUG template from the drop-down menu, and fill out the required information.
Add support for closeness centrality of a vertex, defined as
C_C(v)=\frac{1}{\sum_{t \in V}d_G(v,t)}
See http://en.wikipedia.org/wiki/Closeness_(graph_theory), for an algorithm and references.