A* Search

Finds a least-cost path using accumulated path cost plus a heuristic estimate to the goal.

Method

Maintain open priority queue; expand lowest f=g+h node; update predecessors; stop when goal is selected under admissible conditions.

Applications

Navigation, robotics, games, network routing, puzzle solving.

Advantages

Optimal with suitable admissible/consistent heuristic; focused search.

Limitations

For finite graphs with non-negative costs, an admissible heuristic supports optimal tree search. Graph search that never reopens nodes generally requires consistency; otherwise allow reopening. Memory can be large.

Alternatives

Dijkstra, IDA*, bidirectional search, weighted A*, D* Lite.

Example

On a grid with Manhattan distance heuristic, A* explores far fewer cells than Dijkstra.

Editorial clarification

Corrected or qualified against standard references; bundled concepts are distinguished.

Sources

Educational reference only, not professional advice.

All algorithms