Red-black planning
Also known as red-black heuristic, hRB
heuristic planning-heuristics
Red-black planning relaxes only some variables of a planning task. Red variables are delete-relaxed: once they reach a value, they keep it. Black variables keep their real behaviour and have one value at a time. The heuristic takes the h_FF relaxed plan and runs it under these rules; when a black variable has the wrong value, it inserts a cheapest path through that variable's domain transition graph (plan repair). The cost of the repaired plan is h_RB. With this default repair it is never below h_FF, equal to it when all variables are red, and not admissible. A Painting chooses the black variables; use it for satisficing search where h_FF ignores important deletes.
Pseudocode
algorithm RedBlack(s, G, B)input: state s, goal facts G, black variables Boutput: the cost of a red-black plan, or ∞ for a dead endπ ← relaxed-plan(s) ▷ the h_FF planif π = failure thenreturn ∞R ← the facts of s ▷ red facts only growb ← the values of s on B ▷ one value per black variablePLAN ← ⟨⟩for each o in π dofor each v in B with pre(o)[v] ≠ b[v] doif not move-black(v, pre(o)[v]) thenreturn cost(π) ▷ fall back to h_FFapply(o)for each v in B with G[v] ≠ b[v] doif not move-black(v, G[v]) thenreturn cost(π)return cost(PLAN)function move-black(v, d)p ← cheapest-dtg-path(v, b[v], d, R) ▷ arcs whose red preconditions are in Rif p = nil thenreturn falsefor each o in p doapply(o) ▷ a DAG painting first moves black parentsreturn trueprocedure apply(o)R ← R ∪ the red effects of ob ← b with the black effects of oPLAN ← PLAN · ⟨o⟩In the crates
planning-heuristicsRed-black heuristic with relaxed plan repair or red facts following, every painting strategy of the papers, and an h_FF fallback outside the fragments.
Lineage
Comes from
generalizes hFF
Led to
Nothing on this site.
Papers
- Who Said We Need to Relax All Variables? Michael Katz, Jörg Hoffmann, Carmel Domshlak · 2013· International Conference on Automated Planning and Scheduling (ICAPS)
- Red-Black Relaxed Plan Heuristics Michael Katz, Jörg Hoffmann, Carmel Domshlak · 2013· AAAI Conference on Artificial Intelligence
- Red-black planning: A new systematic approach to partial delete relaxation Carmel Domshlak, Jörg Hoffmann, Michael Katz · 2015· Artificial Intelligence