Skip to main content

Envisioning is an emerging technology research institute and advisory.

LinkedInInstagramGitHub

Since 2010

research
  • Observatory
  • Adaptive capacity
  • Newsletter
  • Methodology
  • Origins
  • Vocab
  • RSS feeds
services
  • Signals Session
  • Bespoke Projects
  • Build Sessions
  • Pricing
  • Use cases
  • Signals
  • Signal Scan↗free
impact
  • ANBIMAFuture of Brazilian Capital Markets
  • IEEECharting the Energy Transition
  • Horizon 2045Future of Human and Planetary Security
  • WKOTechnology Scanning for Austria
solutions
  • Innovation
  • Strategy
  • Consultants
  • Foresight
  • Associations
  • Governments
  • L&D
resources
  • Partners
  • Coding for Non-Coders
  • How we work
  • Data visualization
  • Multi-Model Convergence
  • FAQ
  • Security and privacy
  • Public sector
about
  • Manifesto
  • Community
  • Events
  • Support
  • Contact
ResearchCapabilityServicesSignalsAbout
ResearchCapabilityServicesSignalsAbout
  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 maintains a priority queue of candidate paths and evaluates 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 depend 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 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 in robotics navigation, video game pathfinding, natural language processing, and network routing. Its adaptability, which lets developers 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 widely the algorithm's core insight, combining cost-so-far with informed estimation, has shaped computational problem-solving.

Sources

  1. A Search for Reason

    Wikipedia

Research this in Signals

Scan A* Search for yourself.

Signals turns a topic into a sourced research record you can inspect and rerun. Your first scan is free, and this one starts with A* Search already loaded, so edit it or scan as is.

Related

Related

Heuristic Search Techniques
Heuristic Search Techniques

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

1959Generality: 731
Dijkstra's Algorithm
Dijkstra's Algorithm

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

1959Generality: 792
Search
Search

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

1960Generality: 871
Admissible Heuristic
Admissible Heuristic

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

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

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

1992Generality: 581
Search Optimization
Search Optimization

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

1956Generality: 794