MATH3250 · Theorem · Chapter 5 · Graph methods
The smallest tentative label is safe to settle
2 steps of prerequisites below it
With nonnegative weights, Dijkstra's rule of repeatedly settling an unsettled vertex of smallest label and relaxing its outgoing arcs gives every settled vertex its true distance, settles exactly the reachable vertices and runs in O(n² + m) with an array.
Taught in
Uses
- Ordinary and strong induction · used in its proof, proof step 5.5
- Weighted walks, distances and tentative labels · used in its proof, proof step 5.5
- Nonnegative shortest walks can be chosen simple · used in its proof, proof step 5.5
Used by
No later knowledge point in these notes uses it.
Counterexamples
Everything this builds on, earliest first · 3 steps
Each step comes after its own prerequisites, so reading in this order never needs something you have not met. It is a reading order for these notes, not a diagnosis of what you know.
Possible roots and a review route need your own answers on these points. None are recorded yet, so none are suggested.
Longest chain down to a starting point
Each step is used by the one above it, across courses where the notes link them. It ends at a point the notes define without another point.