Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

h1 landmarks

Also known as delete-relaxation fact landmarks, hm landmarks

heuristic planning-heuristics

A landmark is a fact that is true at some point of every plan. This method finds fact landmarks in the delete relaxation, where facts stay true once reached. Each fact gets a label: the facts that every relaxed path to it makes true no later than the fact itself. A fact of the state has itself as label; an operator offers its effect the union of its preconditions' labels plus the effect; a fact keeps the intersection of all its offers. The landmarks are the goal facts and their labels, and each fact in a label is naturally ordered before that landmark. The result is sound for the real task and feeds landmark heuristics such as the landmark count and landmark cost partitioning.

Pseudocode

algorithm Landmarks(s, G)input: state s, goal facts Goutput: fact landmarks with natural orderings, or failureQUEUE ← ∅for each f in s dolabel[f] ← {f}push(QUEUE, f)for each rule (∅ → f) dooffer-to(f, {f})while QUEUE ≠ ∅ dop ← pop(QUEUE)for each rule (C → f) with p ∈ C doif every c ∈ C has a label thenoffer-to(f, {f} ∪ ⋃ label[c] over c ∈ C)if some g ∈ G has no label thenreturn failure                            ▷ relaxed dead endLM ← G ∪ ⋃ label[g] over g ∈ GORD ← {(l, f) : f ∈ LM, l ∈ label[f], l ≠ f}   ▷ l holds no later than freturn LM, ORDprocedure offer-to(f, X)if f has no label thenlabel[f] ← Xpush(QUEUE, f)else if label[f] ⊄ X thenlabel[f] ← label[f] ∩ X                   ▷ labels only shrinkpush(QUEUE, f)

In the crates

Lineage

Comes from

Nothing on this site.

Papers

  1. Landmark Extraction via Planning Graph Propagation Lin Zhu, Robert Givan · 2003· ICAPS Doctoral Consortium introduces
  2. Sound and Complete Landmarks for And/Or Graphs Emil Keyder, Silvia Richter, Malte Helmert · 2010· European Conference on Artificial Intelligence (ECAI) extends doi 10.3233/978-1-60750-606-5-335