Floyd-Warshall, every pair
Finds the shortest way from every place to every other at once, in a table. Allow each place in turn as a stop on the way, and for every pair, see whether going through that stop beats the best way found so far.
the map
every pair, from the row's place to the column's
- pairs tried
- 0
- ways made shorter
- 0
step 1 of 1
Examples