Improvement to Floyd Warshall Algorithm

Правка en1, от 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!!

Теги floyd warshal, biconnected-graph, optimize

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский monsij 2018-01-18 22:42:57 369 Initial revision (published)