Tinker Finding the way

by Samy (Kondasamy Jayaraman)

0 settled

Dijkstra: 0 settled.

Chapter 3 of 7

Dijkstra: nearest first

To find the quickest way, the app runs Dijkstra’s algorithm from the depot, one junction at a time.

This chapter: In what order does Dijkstra’s algorithm settle the town?

About this chapter

You will learn

  • The frontier holds junctions reached but not settled
  • The cheapest one settles next, and is final
  • It stops when the customer settles

Words you’ll meet

Frontier
Junctions the search has reached by some road but not yet settled.
Settle
Fix a junction’s quickest minutes from the depot for good.
Dijkstra’s algorithm
Settle the frontier junction nearest the depot, over and over, until the goal settles.

Step 1 of 4

starts at the depot. Junctions it has reached wait on the , their signposts lit.

Press Step three times.