| Floyd's Algorithm | Base Network | Prior [Iter 4] | Final Results |
![]() |
Iteration k=5
|
||||||||||||||||||||||||||||||||||||
| 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. | |||||||||||||||||||||||||||||||||||||