Shortest Paths in Networks
Dijkstra's Algorithm
- Label 1st vertex
- Temporarily label all vertices you can reach from 1st vertex
- Choose the vertex with the lowest temporary label and box it permanentely
- Temporarily label all the vertices which can newly be reached from the permanently boxed vertices and adjust others downwards
- Repeat 3. and 4. until destination vertex is perminantely boxed

Fig 1. An example of the box used in Dijkstra's Algorithm.