Skip to main content

Envisioning is an emerging technology research institute and advisory.

LinkedInInstagramGitHub

2011 — 2026

research
  • Reports
  • Newsletter
  • Methodology
  • Origins
  • Vocab
services
  • Research Sessions
  • Signals Workspace
  • Bespoke Projects
  • Use Cases
  • Signal Scanfree
  • Readinessfree
impact
  • ANBIMAFuture of Brazilian Capital Markets
  • IEEECharting the Energy Transition
  • Horizon 2045Future of Human and Planetary Security
  • WKOTechnology Scanning for Austria
audiences
  • Innovation
  • Strategy
  • Consultants
  • Foresight
  • Associations
  • Governments
resources
  • Pricing
  • Partners
  • How We Work
  • Data Visualization
  • Multi-Model Method
  • FAQ
  • Security & Privacy
about
  • Manifesto
  • Community
  • Events
  • Support
  • Contact
  • Login
ResearchServicesPricingPartnersAbout
ResearchServicesPricingPartnersAbout
  1. Home
  2. Vocab
  3. A* Search

A* Search

An efficient pathfinding algorithm combining actual path cost with heuristic estimates.

Year: 1968Generality: 694
Back to Vocab

A* Search is a best-first graph traversal and pathfinding algorithm that finds the least-cost path between a start node and a goal node. It works by maintaining a priority queue of candidate paths and evaluating each node using the function f(n) = g(n) + h(n), where g(n) represents the known cost from the start to the current node, and h(n) is a heuristic estimate of the remaining cost to the goal. By combining these two components, A* balances the thoroughness of Dijkstra's algorithm with the directional efficiency of greedy best-first search, avoiding unnecessary exploration while still guaranteeing an optimal solution.

The algorithm's correctness and efficiency hinge on the properties of its heuristic. When h(n) is admissible — meaning it never overestimates the true cost to the goal — A* is guaranteed to find the optimal path. When h(n) is also consistent (satisfying a triangle inequality across nodes), A* avoids redundant re-evaluation of nodes, improving runtime performance. The choice of heuristic is therefore domain-specific: Manhattan distance works well for grid-based maps, while Euclidean distance suits continuous spaces. A poorly chosen heuristic can degrade A* to the performance of an exhaustive search.

A* has become a foundational tool in AI planning and search, with applications spanning robotics navigation, video game pathfinding, natural language processing, and network routing. Its adaptability — allowing developers to tune the heuristic for speed versus optimality trade-offs — makes it broadly applicable across problem domains. Variants such as weighted A*, IDA* (iterative deepening A*), and bidirectional A* extend the core algorithm to handle memory constraints, real-time requirements, and large-scale graphs.

In machine learning and AI pipelines, A* frequently appears in structured prediction, symbolic planning, and model-based reinforcement learning, where agents must reason over discrete state spaces. Its influence on modern search-based methods, including beam search in sequence modeling and Monte Carlo Tree Search in game-playing systems, reflects how deeply the algorithm's core insight — combining cost-so-far with informed estimation — has shaped computational problem-solving.

Related

Related

Heuristic Search Techniques
Heuristic Search Techniques

Guided search methods that use domain knowledge to find solutions efficiently.

Generality: 731
Dijkstra's Algorithm
Dijkstra's Algorithm

A graph algorithm that finds the shortest path between nodes efficiently.

Generality: 792
Search
Search

Systematic exploration of a problem space to find goal-achieving solutions or action sequences.

Generality: 871
Admissible Heuristic
Admissible Heuristic

A heuristic that never overestimates goal cost, guaranteeing optimal search solutions.

Generality: 660
ACO (Ant Colony Optimization)
ACO (Ant Colony Optimization)

A nature-inspired algorithm that finds optimal paths by simulating ant foraging behavior.

Generality: 581
Search Optimization
Search Optimization

Techniques for efficiently finding optimal solutions within large, complex solution spaces.

Generality: 794