3, 12, 21, 29, 37, 38, 44
Problems from textbook Chapter 5:
4, 7, 9
Use the link-state algorithm (Dijkstra's alg.) to complete the following table to find a least-cost path between node A and every other node in the graph below.
| Step | Stable | Dist(B),Pred(B) | Dist(C),Pred(C) | Dist(D),Pred(D) | Dist(E),Pred(E) |
| -1 | inf | inf | inf | inf | |
| 0 | A | 1,A | 2,A | inf | inf |
| 1 | AB | 1,A | 2,A | 16,B | 6,B |
| ... | |||||
When the table is complete, list the least-cost paths it describes from A to each of the other nodes (i.e., list the nodes in each path and the path cost).