Dijkstra's algorithm
- generally for finding shortest paths btwn nodes in a graph
-
grows like a circular wavefront (visits all closest nodes first, no leap of exploration)
- relatively slow in certain topologies
-
procedure
- mark all nodes unvisited (infinite cost)
- relabel paths w cost at every intersection, mark each node as visited
- continue until destination is found
- trace your way back by following each node's parents up to staring node