Admissible Heuristics and Optimality of A*
Defines admissible heuristics, shows why the haversine distance is admissible for air routing, and proves that A* with an admissible heuristic returns an optimal-cost path.
Tutorial
Admissible Heuristics
In A*, nodes are popped from the open list in order of where is the cost from the start to and is a heuristic estimate of the remaining cost from to the goal. Whether A* returns an optimal path depends on the quality of
Let denote the true optimal cost from to the goal. A heuristic is admissible if, for every node
In words: an admissible heuristic never overestimates the remaining cost. It is always an optimistic lower bound on the true cost-to-go.
Since an admissible heuristic must also satisfy
For example, suppose the true remaining costs from four nodes to goal are
The heuristic is admissible: every value satisfies The heuristic is not admissible because