29 Sep
2007
29 Sep
'07
5 p.m.
On 09/29/2007 01:53 AM, Dan wrote:
I want to know the shortest distances from any single vertex to any other vertices, and the largest one out of them (I call it the maximum diameter of a graph). How can I do that?
You can get the distance histogram with the --distance-histogram option, and then get the largest value. See http://projects.forked.de/graph-tool/wiki/BasicStatistics#DistanceHistogram Cheers, Tiago -- Tiago de Paula Peixoto <tiago@forked.de> 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0