Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Decoupled search

Also known as star-topology decoupling, star-topology decoupled search

search decoupled-search

Decoupled search solves planning tasks whose variables split into a center and several leaves that interact mostly through the center (a star topology). A leaf action changes one leaf and reads only that leaf and the center; the search branches over the other, global actions only. Each node, a decoupled state, holds a center state and, per leaf, the price of each reachable leaf state: the cheapest cost of leaf actions that reach it along the path. This removes the interleavings of independent leaf moves, which can shrink the search space exponentially. The result is an ordinary sequential plan, optimal under uniform-cost search or A* with an admissible heuristic.

Pseudocode

algorithm decoupled-search(Π, F)input: planning task Π, factoring F into a center C and leaves L₁, …, L_koutput: a cheapest sequential plan for Π, or failures₀ ← ⟨center of the initial state, per leaf the price 0 at its initial leaf state⟩close-leaves(s₀)g[s₀] ← 0OPEN ← {s₀}                              ▷ ordered by g (A*: by g + h)best ← goal-cost(s₀)                     ▷ ∞ unless s₀ is a goal statewhile OPEN ≠ ∅ dos ← extract-min(OPEN)if key(s) ≥ best thenbreak                                ▷ leaf goal prices are ≥ 0, so best is optimalfor each global action a applicable in s dos′ ← ⟨apply(a, center(s)), per leaf transfer(a, prices(s, L))⟩close-leaves(s′)g[s′] ← g[s] + cost(a)if no stored state with the center of s′ dominates s′ thenparent[s′] ← (s, a)insert(OPEN, s′)best ← min(best, goal-cost(s′))if best = ∞ thenreturn failurereturn interleave(the leaf paths, the global path to the best goal state)procedure close-leaves(s)for each leaf L doprices(s, L) ← dijkstra(L, prices(s, L), leaf actions whose center preconditions hold in center(s))function goal-cost(s)if the center goal holds in s and every leaf reaches a goal leaf state thenreturn g[s] + ∑ over leaves L of the cheapest goal price in Lreturn ∞

In the crates

  • decoupled-search

    Searches a factored SAS+ task along paths of global actions only, keeping per leaf the cheapest price of every reachable leaf state, and returns an ordinary sequential plan.

    searchConfigFactoring

Lineage

Comes from

generalizes Fork-decoupled search

Led to

Anytime A* builds on it

Dominance pruning builds on it

Strong stubborn sets builds on it

Symbolic leaf representation builds on it

Papers

  1. 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) introduces doi 10.1609/icaps.v25i1.13705
  2. From Fork Decoupling to Star-Topology Decoupling Daniel Gnad, Jörg Hoffmann, Carmel Domshlak · 2015· Symposium on Combinatorial Search (SoCS) extends
  3. Star-Topology Decoupled State Space Search Daniel Gnad, Jörg Hoffmann · 2018· Artificial Intelligence extends doi 10.1016/j.artint.2017.12.004