Distance between every pair of vertices in a graph
03:35 01 Feb 2015

Is there is an algorithm / efficient way to calculate the distance from each vertex in a graph to all other vertices?

Unlike Dijkstra - I'm looking for a way to calculate the distance for all vertices to all vertices (not one to all).

Thanks!

algorithm graph dijkstra vertices