Landmark count heuristic
Also known as LAMA landmark heuristic, landmark tracking
heuristic planning-heuristics
The landmark count heuristic estimates the distance to the goal as the number of landmarks still to achieve. A landmark is a fact that is true at some point of every plan. The crate gives two forms: LandmarkCount finds the landmarks again in each state, and LandmarkTracker finds them once at the start and records along each search path which landmarks the path has already reached (as in the LAMA planner). One operator can reach several landmarks, so the count can overestimate: it is not admissible. It ignores operator costs and is a strong guide for satisficing search.
Pseudocode
algorithm LandmarkTracker(s₀, G)input: start state s₀, goal facts Goutput: per search node, the number of landmarks still to achieveLM, ORD ← rhw-landmarks(s₀)add-reasonable-orderings(LM, ORD)return {l ∈ LM : holds(l, s₀)} ▷ the accepted set of the rootfunction on-expand(ACC, s′)ACC′ ← ACCfor each l in LM ∖ ACC doif holds(l, s′) and every l″ ordered before l is in ACC thenACC′ ← ACC′ ∪ {l}return ACC′function merge(ACC₁, ACC₂)return ACC₁ ∩ ACC₂ ▷ two paths reach one statefunction estimate(ACC, s)n ← 0for each l in LM doif l ∉ ACC thenn ← n + 1else if not holds(l, s) and required-again(l, ACC) thenn ← n + 1return nfunction required-again(l, ACC)return (l is a single goal fact) or ∃ l′ ∉ ACC with (l, l′, greedy-necessary) ∈ ORDIn the crates
planning-heuristicsInadmissible landmark count, per state or with LAMA-style tracking along the search path.
Lineage
Led to
Uniform landmark cost partitioning builds on it
Papers
- Landmarks Revisited Silvia Richter, Malte Helmert, Matthias Westphal · 2008· AAAI Conference on Artificial Intelligence
- The LAMA Planner: Guiding Cost-Based Anytime Planning with Landmarks Silvia Richter, Matthias Westphal · 2010· Journal of Artificial Intelligence Research