ARA*
Also known as Anytime Repairing A*
search heuristic-search
ARA* (Anytime Repairing A*) runs a series of Weighted A* searches with falling weights, for example 3, 2, 1.5 and 1. Each search orders states by g + w·h and stops when its solution costs at most w times the optimum. A state that gets a cheaper path after its expansion is not expanded again in the same search: it waits in a list (INCONS) for the next one. So each search reuses the work of the one before, which makes ARA* cheaper than a restart of Weighted A* for each weight. With an admissible and consistent h (its estimate never drops by more than the edge cost along an edge) and a schedule that ends at 1, the final path is optimal.
Pseudocode
algorithm ARA*(s₀, goal, h, w₁ ≥ w₂ ≥ … ≥ w_k)input: start s₀, goal test goal, heuristic h, a falling weight scheduleoutput: one solution per weight, each within its weight of the optimumg[s₀] ← 0OPEN ← {s₀}INCONS ← ∅incumbent ← nil ▷ goals are recognised on generationfor each w in w₁, …, w_k doOPEN ← OPEN ∪ INCONSINCONS ← ∅CLOSED ← ∅order OPEN by g + w · hwhile OPEN ≠ ∅ and cost(incumbent) > min key of OPEN dos ← extract-min(OPEN)CLOSED ← CLOSED ∪ {s}for each (s′, c) in successors(s) doif g[s] + c < g[s′] theng[s′] ← g[s] + cparent[s′] ← sif goal(s′) thenincumbent ← s′else if s′ ∈ CLOSED and w ≠ w_k thenINCONS ← INCONS ∪ {s′} ▷ parked, not reopened nowelseinsert(OPEN, s′, g[s′] + w · h(s′))lb ← min of g + h over OPEN ∪ INCONSif the incumbent improved in this search thenon-solution(path-to(incumbent), lb)if lb ≥ cost(incumbent) thenreturn path-to(incumbent)return path-to(incumbent), or failure if there is noneIn the crates
heuristic-searchAnytime Repairing A*: anytime weighted search that improves its solution as the weight decreases.
Lineage
Comes from
builds on Weighted A*
Papers
- ARA*: Anytime A* with Provable Bounds on Sub-Optimality Maxim Likhachev, Geoff Gordon, Sebastian Thrun · 2003· Advances in Neural Information Processing Systems 16 (NIPS 2003)