Hi all,<br><br>I wonder whether it is possible to calculate the closenness centrality using the brandes_betweenness_centrality. 
The closeness centrality of a vertex is defined by the inverse
of the average length of the shortest paths to/from all the other
vertices in the graph. I know that in theory this is possible and it would actually save a lot of time if someone wants to calculate both properties. <br><br>Currently I am running brandes_betweenness like this<br><br>brandes_betweenness_centrality(g, get(&amp;VertexInfo::betweenness, g), get(&amp;EdgeInfo::betweenness, g));
<br><br>I prefer bundled properties as for me are more clear in concept. <br><br>I wonder whether:<br>a.I could use Util parameters like DistanceMap to calculate closenness. However, I can not really understand how I can create an iterator_property_map using bundled properties.
<br>OR<br>b.I have to modify the brandes_betweenness_centrality to calculate also closenness.<br><br>I apologise in case the answer to my problem is trivial but I am just newbie in the Boost Graph Library. <br>
<br>Thanks for your help.<br>Ioannis<br>

