Computer Networks · M2 · read-chapter
Routing: build the shortest path one step at a time
Unit 4 · shortest paths and routing tables
- Routing, forwarding, distance and next hop
- Relaxation: replace an old route only when the candidate is cheaper
- One edge relaxation · example 1
- One edge relaxation · example 2
- One edge relaxation · example 3
- Dijkstra: settle the closest unfinished vertex
- Dijkstra · complete example 1
- Dijkstra · complete example 2
- Dijkstra · complete example 3
- Bellman–Ford: repeat relaxation across all edges
- Bellman–Ford · complete example 1
- Bellman–Ford · complete example 2
- Bellman–Ford · negative-cycle example