|
|
Example:
|
|
|
for ( each destination D )
{
Find the smallest distance to D in the Distance table
The neighbor used to reach D is the "next node" in the routing table
}
|
|
|
Example:
|
|
|
|
Note:
|