Parallel all-pairs shortest path algorithm: Difference between revisions

Content deleted Content added
NotAG on AWB (talk | contribs)
top: replace {{manual}} with {{how-to}} per TfD
Floyd–Warshall algorithm: Fix formatting on |V|
Line 107:
== Floyd–Warshall algorithm ==
 
The [[Floyd–Warshall algorithm]] solves the All-Pair-Shortest-Paths problem for directed graphs. With the [[adjacency matrix]] of a graph as input, it calculates shorter paths iterative. After |''V'' | iterations the distance-matrix contains all the shortest paths. The following describes a sequential version of the algorithm in pseudo code:
 
1 '''func''' Floyd_All_Pairs_SP(''A'') {