Improvement to Floyd Warshall Algorithm

Revision en1, by monsij, 2018-01-18 22:42:57

Hello Codeforces!,

We already have a algorithm to find all pairs shortest path in a weighted graph.This solution depends on dynamic programming ideas and hence utilizes one/two 2-D matrices.But I wonder what would be the approach if the number of vertices increased to say 10^4 or maybe as large as 10^6. Thanks in Advance!!

Tags floyd warshal, biconnected-graph, optimize

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English monsij 2018-01-18 22:42:57 369 Initial revision (published)