Floyd's Algorithm Base Network Prior [Iter 4] Final Results

Iteration k=5

d[i,j] 1 2 3 4 5
1 - 3.0 6.0 9.012.0
210.0 - 3.0 6.0 9.0
3 7.010.0 - 3.0 7.0
4 4.0 7.0 2.0 - 4.0
515.018.0 8.011.0 -
Iteration 5. Using k=5 as a potential intermediate node, update the elements of the matrix using d(i,j) = min[ d(i,j), (d(i,k) + d(k,j)) ]. Here, no cells can be improved using node 5 as an intermediate node. Since there are only 5 nodes in the network, Floyd's Algorithm is completed and all paths become permanently labeled.
Last Updated: 14 February 2006 / mgm