A* searches for a shortest path through a graph by prioritizing each candidate with accumulated path cost plus a heuristic estimate of remaining cost. A priority queue, represented here by a sorted map, keeps promising paths first. section 11.1.3
Finding a route
(a* graph :orig :dest) ;; [:orig :d :e :dest] The sample graph assigns straight-line-like estimates to guide navigation; changing the origin and destination produces another route.




