Improve all pairs distance (unweighted graph)
Hi,
Could you optimize topology.shortest_distance in the case of an (undirected) unweighted graph? It seems that you use a general APSP algorithm with weight 1. In the calculation of the closeness centrality you've already optimized this by running bfs for all vertices.
Thanks!