Content deleted Content added
m typos |
m →Calculating the shortest paths: typo |
||
Line 62:
===Calculating the shortest paths===
Each node
Basically, a node maintains two data structures: a [[Tree data structure|tree]] containing nodes which are "done", and a list of ''candidates''. The algorithm starts with both structures empty; it then adds to the first one the node itself. The algorithm then repetitively:
|