LLMpediaThe first transparent, open encyclopedia generated by LLMs

A* algorithm

Generated by GPT-5-mini
Note: This article was automatically generated by a large language model (LLM) from purely parametric knowledge (no retrieval). It may contain inaccuracies or hallucinations. This encyclopedia is part of a research project currently under review.
Article Genealogy
Parent: General Problem Solver Hop 4
Expansion Funnel Raw 53 → Dedup 0 → NER 0 → Enqueued 0
1. Extracted53
2. After dedup0 (None)
3. After NER0 ()
4. Enqueued0 ()
A* algorithm
NameA* algorithm
ClassSearch algorithm
DataGraphs, grids, state spaces
TimeProblem-dependent; exponential worst-case
SpaceProblem-dependent; exponential worst-case
Invented1968
InventorsPeter Hart; Nils Nilsson; Bertram Raphael

A* algorithm

A* algorithm is a best-first graph search method combining path cost and heuristic estimates to find least-cost paths in discrete state spaces. Developed in the late 1960s, it unites ideas from informed search, dynamic programming, and heuristic evaluation to solve shortest-path problems on graphs and grids used across robotics, computational geometry, and artificial intelligence. It balances exploration and exploitation by using a priority determined from accumulated cost plus an admissible heuristic, yielding optimality under well-defined conditions.

History

The development of the algorithm occurred amid influential research at institutions such as Stanford University and SRI International and built on earlier work in heuristic search by researchers associated with RAND Corporation and MIT. Peter Hart, Nils Nilsson, and Bertram Raphael published the foundational paper in 1968 while affiliated with SRI International and presenting results connected to contemporaneous efforts in automated planning at Carnegie Mellon University and University of California, Berkeley. The technique synthesized prior methods like uniform-cost search from Edsger W. Dijkstra’s lines of work and heuristic-driven approaches explored by scientists at RAND Corporation. Over subsequent decades, improvements and theoretical analyses came from contributions at institutions such as IBM Research, Bell Labs, University of Edinburgh, and University of Pennsylvania, while applications proliferated in projects involving NASA, DARPA, European Space Agency, and industry labs like Google and Microsoft Research.

Algorithm

A* operates on a weighted graph or implicit state space represented in many systems including those studied at Bell Labs and IBM Research. Starting from an initial node associated with entities studied at Stanford University and targeting goal states explored in projects at MIT, it repeatedly selects the node with minimal f(n)=g(n)+h(n) from an open set, where g(n) is path cost accumulated following principles used in Dijkstra’s algorithm and h(n) is a heuristic estimate often inspired by metrics developed in computational geometry research at Princeton University and California Institute of Technology. The algorithm expands nodes, moves them to a closed set, updates costs for successors, and may revise predecessors when a lower-cost path is found—behaviors analyzed in depth by authors at University of Toronto and University College London. Implementations in programming languages popularized at Bell Labs and adopted by developers at Apple Inc. and Microsoft rely on priority queues such as binary heaps, Fibonacci heaps introduced at University of Waterloo, or more recent data structures from ETH Zurich.

Heuristics

Heuristics in A* often derive from domain knowledge encoded by researchers at Carnegie Mellon University, Oxford University, and University of Cambridge. Common admissible heuristics include straight-line distance (Euclidean), Manhattan distance used in grid navigation studied at Tokyo Institute of Technology, and pattern databases pioneered in work from University of California, Los Angeles and University of Alberta. Consistency (monotonicity) of heuristics links to theoretical results from Harvard University and Yale University, while heuristic construction techniques such as relaxation, abstraction, and landmark heuristics were advanced at Google and research groups at Microsoft Research. Machine-learned heuristics have emerged from collaborations involving Carnegie Mellon University, Stanford University, and industry labs like OpenAI and DeepMind.

Properties and Analysis

Optimality and completeness properties were formalized by the original authors and refined in analyses at Massachusetts Institute of Technology and California Institute of Technology. A* is complete when branching factors are finite and step costs are bounded below, conditions studied in theoretical computer science groups at Princeton University and University of Chicago. Time and space complexities are exponential in the worst case, a topic explored in seminars at Cornell University and Columbia University. Admissible and consistent heuristics guarantee optimality, while inadmissible heuristics can yield faster but suboptimal solutions—a tradeoff examined in experiments at IBM Research and Bell Labs. Lower-bound and approximation analyses connect to complexity classes investigated at Institute for Advanced Study and algorithmic game theory work at Microsoft Research.

Variants and Extensions

Numerous variants extend A* to address scalability and real-time requirements; notable examples include iterative deepening A* developed with influences from University of California, Berkeley; weighted A* used in robotics groups at Carnegie Mellon University and ETH Zurich; and bidirectional heuristically guided searches explored at University of Pennsylvania and University of Southern California. Memory-bounded approaches such as SMA* and IDA* trace to research at Princeton University and University of Toronto, while anytime and incremental versions like Anytime Repairing A* (ARA*) and D* Lite have been advanced by teams at NASA and University of Freiburg. Parallel and distributed adaptations have been developed in collaborations involving Microsoft Research, Google, and high-performance computing centers at Lawrence Berkeley National Laboratory.

Applications

A* underpins pathfinding in video game engines produced by companies like Electronic Arts and Ubisoft, motion planning in robotics labs at Carnegie Mellon University and ETH Zurich, route planning in transportation systems researched at MIT and Imperial College London, and automated planning in projects at NASA and DARPA. It is used in computational biology workflows at Broad Institute for state-space searches, in natural language processing pipelines at Google and Facebook for structured inference, and in logistics and supply-chain optimizations developed by Amazon and DHL. Variants of A* also appear in mapping systems built by TomTom and HERE Technologies and in autonomous vehicle stacks from startups and labs affiliated with Stanford University and Waymo.

Category:Search algorithms