hmax
Also known as max heuristic, hmax
heuristic decoupled-searchminiplanplanning-heuristics
hmax estimates the cost from a state to the goal of a planning task. It uses the delete relaxation: a fact that becomes true stays true, so operators never undo each other. The cost of a fact is the cost of the cheapest operator that adds it, plus the cost of that operator's most expensive precondition; the estimate is the cost of the most expensive goal fact. hmax never overestimates (it is admissible), so A* with it finds cheapest plans, but its estimates are often low. Decoupled search keeps a price (cheapest cost) for each reached leaf state; there, each fact starts at the cheapest price of a reached leaf state that contains it.
Pseudocode
algorithm h-max(s, O, G)input: state s, operators O, goal facts Goutput: a lower bound on the cost from s to G, or ∞ if G is unreachablefor each fact p doc[p] ← ∞for each fact p in s doc[p] ← seed(p) ▷ 0; on a decoupled state, the fact's leaf priceOPEN ← facts of s ▷ ordered by cfor each o in O with pre(o) = ∅ dorelax(o, OPEN)while OPEN ≠ ∅ dop ← extract-min(OPEN)for each o in O with p ∈ pre(o) doif ∀ q ∈ pre(o): c[q] < ∞ thenrelax(o, OPEN)return max { c[g] : g ∈ G }procedure relax(o, OPEN)k ← cost(o) + max { c[q] : q ∈ pre(o) } ▷ the max of ∅ is 0for each p′ in eff(o) doif k < c[p′] thenc[p′] ← kinsert-or-update(OPEN, p′, k)In the crates
decoupled-searchAdmissible max heuristic on decoupled states, seeded with per-fact leaf prices.
miniplanMax delete-relaxation heuristic on the grounded task.
planning-heuristicsAdmissible delete-relaxation heuristic: the cost of the most expensive goal fact.
Lineage
Comes from
Nothing on this site.
Papers
- Planning as heuristic search Blai Bonet, Héctor Geffner · 2001· Artificial Intelligence
- Beating LM-Cut with hmax (Sometimes): Fork-Decoupled State Space Search Daniel Gnad, Jörg Hoffmann · 2015· International Conference on Automated Planning and Scheduling (ICAPS)