The next settled router is the unsettled router with the smallest tentative distance. The pinned graph has a unique choice at every step.

highlighted = computed this step

Choose C after A

After A, the smallest tentative distance is C at 2.

min=2\min=2
Choose the smallest tentative routerThe router topology is validated as exact nonnegative integer-weighted edges.Choose the smallest tentative router - weighted undirected topology4251035157ABCDEF

Why C becomes final

All remaining link weights are nonnegative integers, so no unsettled route can later sneak below C's distance 2.

d(C)=2d(C)=2
Choose the smallest tentative routerThe router topology is validated as exact nonnegative integer-weighted edges.Choose the smallest tentative router - weighted undirected topology4251035157ABCDEF

B is next

After relaxing from C, B at 4 is still smaller than D at 5.

4<54<5
Choose the smallest tentative routerThe router topology is validated as exact nonnegative integer-weighted edges.Choose the smallest tentative router - weighted undirected topology4251035157ABCDEF

Then D follows

D at 5 is chosen before E at 6 and F at 10.

5<6<105<6<10
Choose the smallest tentative routerThe router topology is validated as exact nonnegative integer-weighted edges.Choose the smallest tentative router - weighted undirected topology4251035157ABCDEF

The first settled routers

The recomputed settled order begins A, then C, then B.

ACB\text{A}\to\text{C}\to\text{B}
Choose the smallest tentative routerThe router topology is validated as exact nonnegative integer-weighted edges.Choose the smallest tentative router - weighted undirected topology4251035157ABCDEF

Read the full order

The complete settled order is A, C, B, D, E, F. The source comes first, and F is last because its final distance is 10.

ACBDEF\text{A}\to\text{C}\to\text{B}\to\text{D}\to\text{E}\to\text{F}
Choose the smallest tentative routerThe router topology is validated as exact nonnegative integer-weighted edges.Choose the smallest tentative router - weighted undirected topology4251035157ABCDEF

Summary

Choosing the smallest tentative router makes its distance final before the algorithm moves on.

settled prefix fixed\text{settled prefix fixed}
Choose the smallest tentative routerThe router topology is validated as exact nonnegative integer-weighted edges.Choose the smallest tentative router - weighted undirected topology4251035157ABCDEF