Overview
Weighted A* is a pathfinding method that searches a graph, grid, or configuration space using costs, heuristics, or incremental updates. It is useful when route quality, replanning cost, or search speed matters more than a naive traversal.
Weighted A* finds routes through graphs, grids, or motion-planning spaces.
Compact metadata for implementation and discovery.
Weighted A* is a pathfinding method that searches a graph, grid, or configuration space using costs, heuristics, or incremental updates. It is useful when route quality, replanning cost, or search speed matters more than a naive traversal.
Quick facts
Runtime and memory behavior at a glance.
Best
O(E)
Average
O(E log V)
Worst
O(E log V)
Space
O(V)
f(n) = g(n) + w * h(n)Inflates the heuristic to trade optimality for faster search.
Show the frontier expanding through the map and the final path being reconstructed.
Weighted A* operates in O(E log V) time and O(V) space within the Pathfinding family. Key governing relation: f(n) = g(n) + w * h(n). Often compared with A* Search and Dijkstra's Algorithm.
What each reference supports for this entry.
Textbook reference for the algorithmic family and analysis of Weighted A*.
Good next jumps from the relationship graph, ranked for useful discovery.
Weighted A* is a route-search alternative to A* Search with different heuristic or replanning behavior.