Anytime A*
In computer science, anytime A* is a family of variants of the A* search algorithm.[src] Like other anytime algorithms, it has a flexible time cost, can return a valid solution to a pathfinding or graph traversal problem even if it is interrupted before it ends, by generating a fast, non-optimal solution before progressively optimizing it.[src] This ability to quickly generate solutions has made it attractive to Search-base sites and AI designs.[src]
In computer science, anytime A* is a family of variants of the A* search algorithm.[src] Like other anytime algorithms, it has a flexible time cost, can return a valid solution to a pathfinding or graph traversal problem even if it is interrupted before it ends, by generating a fast, non-optimal solution before progressively optimizing it.[src] This ability to quickly generate solutions has made it attractive to Search-base sites and AI designs.[src] ==Background and history== Running the optimal A* algorithm to completion is too expensive for many purposes.[src] A*'s optimality can be sacrificed in order to reduce the execution time by inflating the heuristic, as in weighted A* from 1970.[src] Iteratively reducing the degree the heuristic is "inflated" provides a naive anytime algorithm (ATA*, 2002), but this repeats previous work.[src] A more efficient and error-bounded version that reuses results, Anytime Repairing A* (ARA*), was reported in 2003.[src] A dynamic (in the sense of D*) modification of ARA*, Anytime Dynamic A* (ADA*) was published in 2005.[src] It combines aspects of D* Lite and ARA*.[src] Anytime Weighted A* (1997, 2007) is similar to weighted A*, except that it continues the search after finding the first solution.[src] It finds better solutions iteratively and ultimately finds the optimal solution without repeating previous work and also provides error bounds throughout the search.[src] Randomized Weighted A* (2021) introduced randomization into Anytime Weighted A* and demonstrated better empirical performance.[src] ==Difference from A*== and obtains a suboptimal path.[src] A* search algorithm can be presented by the function of , where is the last node on the path, is the cost of the path from the start node to , and is a heuristic that estimates the cost of the cheapest path from to the goal.[src] Different than the A* algorithm, the most important function of Anytime A* algorithm is that, they can be stopped and then can be restarted at any time.[src] Anytime A* family of algorithms typically build upon the weighted version of the A* search: where one uses , , and performs the A* search as usual, which eventually happens faster since fewer nodes are expanded.[src] ATA* involves running weighted A* multiple times with gradually lowering each time until =1 when the search just becomes plain A*.[src] Although this could work by calling A* repeatedly and discarding all previous memory, ARA* does this by introducing a way of updating the path.[src] The initial value of determines the minimal (first-time) runtime of ATA*.[src] Anytime weighted A* turns weighted A* into an anytime algorithm as follows.[src] Each goal test is done at node generation instead of node expansion, and the current solution becomes the best goal node so far.[src] Unless the algorithm is interrupted, the search continues until the optimal solution is found.[src] During the search, the error bound is the cost of the current solution minus the least f-value in the open list.[src] The optimal solution is detected when no more nodes with remain open, and at that point the algorithm terminates with as the cost of optimal solution.[src] In 2021, it was discovered that given a search time-limit, Anytime weighted A* yields better solutions on average by simply switching the weight randomly after each node expansion than by using a fine-tuned static weight or by gradually lowering the weight after each solution.[src] ==References==[src]
29 sentences · 29 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Anytime A*." encyclopegia.org, 2026, https://encyclopegia.org/wiki/anytime-a. Accessed 03 December 2026.
Chicago
"Anytime A*." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/anytime-a.
APA
encyclopegia.org. (2026). Anytime A*. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/anytime-a
Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| publication date | 2005 | Wikipedia |