Dijkstra’s Shortest Path

Find the fastest route — the priority queue always hands over the nearest unfinished place.

Ready
0Places final
0In the queue
∞Best to goal

READY

Being finished now Final distance Distance just improved Shortest-route roads Stale queue entry