MHA*
Also known as Multi-heuristic A*, Shared MHA*
search heuristic-search
MHA* (Multi-Heuristic A*) uses several heuristics at once and still bounds the solution cost. One anchor heuristic must be consistent; the others may be inadmissible (they can overestimate) and only guide the search. Each heuristic has its own queue, ordered by g + w₁ · h. In round robin, an inadmissible queue may expand while its best key is at most w₂ times the anchor's best key; otherwise the anchor expands. The shared variant (SMHA*) shares path costs between queues and expands each state at most twice, and the result costs at most w₁ · w₂ times the optimum.
Pseudocode
algorithm SMHA*(s₀, goal, h₀, h₁, …, h_n, w₁, w₂)input: start s₀, goal test goal, consistent anchor h₀, inadmissible h₁ … h_n, weights w₁, w₂ ≥ 1output: a path that costs at most w₁ · w₂ times the optimum, or failureg[s₀] ← 0for i in 0, …, n doOPEN_i ← {s₀} ▷ ordered by key_i(s) = g[s] + w₁ · h_i(s)best ← nil ▷ the cheapest goal generated so farwhile OPEN₀ ≠ ∅ dofor i in 1, …, n do ▷ round robin over the inadmissible queuesq ← iif min-key(OPEN_i) > w₂ · min-key(OPEN₀) thenq ← 0 ▷ the anchor expands insteadif best ≠ nil and w₁ · g[best] ≤ min-key(OPEN_q) thenreturn path-to(best)s ← extract-min(OPEN_q)remove s from every OPEN_jrecord that s was expanded by the anchor (q = 0) or by an inadmissible queuefor each (s′, c) in successors(s) doif g[s] + c < g[s′] theng[s′] ← g[s] + cparent[s′] ← sif goal(s′) then ▷ goals are not expandedbest ← cheaper of best and s′elseif the anchor has not expanded s′ theninsert-or-update(OPEN₀, s′, key₀(s′))if no inadmissible queue has expanded s′ thenfor i in 1, …, n with key_i(s′) ≤ w₂ · key₀(s′) doinsert-or-update(OPEN_i, s′, key_i(s′))if best ≠ nil thenreturn path-to(best)return failureIn the crates
heuristic-searchShared multi-heuristic A*: one consistent anchor heuristic for the bound, any number of inadmissible ones for guidance.
Lineage
Comes from
builds on Weighted A*
Led to
Nothing on this site.
Papers
- Multi-Heuristic A* Sandip Aine, Siddharth Swaminathan, Venkatraman Narayanan, Victor Hwang, Maxim Likhachev · 2016· The International Journal of Robotics Research