| Floyd's Algorithm | Base Network | Prior [Iter 3] | Next [Iter 5] | Final Results |
![]() |
Iteration k=4
|
||||||||||||||||||||||||||||||||||||
| Iteration 4. Using k=4 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, cell (3,5) is updated using node 4 as an intermediate node. Note that elements in the kth row and column are not updated. | |||||||||||||||||||||||||||||||||||||