decoupled-search
Decoupled (star-topology) search for factored SAS+ planning: star factorings, cost-optimal and greedy search, dominance pruning and decoupled heuristics
cargo add decoupled-search Who it is for
- Planning researchers working on star-topology decoupling, factoring selection or dominance pruning who want a readable implementation, cross-checked against explicit search, to build on or compare against.
- Planner authors whose tasks fall apart into a center and many weakly interacting leaves (transport, multi-robot delivery, manufacturing cells), where explicit search spends most of its effort on interleavings of leaf moves.
- Embedded and robotics teams that plan onboard: the crate builds for
no_stdtargets. - Tasks without a useful star factoring gain nothing from decoupling;
Factoring::autothen falls back to explicit search, and for explicit-state search on its own heuristic-search is the better fit. - For the heuristics themselves on ordinary states, use planning-heuristics; for symbolic search over the same tasks, symbolic-search.
Algorithms 19
- A* A star
Cost-optimal A* over decoupled states, guided by a decoupled heuristic.
- Anytime A* Anytime Fork-Root A*
Gnad and Hoffmann's Anytime Fork-Root A* over decoupled states, cost-optimal.
- Decoupled search star-topology decoupling · star-topology 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.
- Dijkstra's algorithm Dijkstra · Uniform-cost search · UCS
Cost-optimal uniform-cost search over decoupled states.
- Dominance pruning simulation-based dominance pruning · effective prices
Prunes decoupled states dominated by others under basic, frontier, effective-price, leaf-simulation or effective-simulation criteria, generalised to global actions that touch leaves.
- Fork factoring fork decomposition
Factors the task into a fork: a center whose leaves depend only on it.
- Generalized factoring generalized star factoring
Generalized factorings with directly interacting leaves and a possibly empty center.
- Greedy best-first search GBFS · symbolic greedy best-first search
Satisficing greedy best-first search over decoupled states, optionally with reachability-only leaves.
- hFF FF heuristic · h_FF · relaxed plan heuristic
FF heuristic on decoupled states, seeded with per-fact leaf prices.
- hmax max heuristic · h_max
Admissible max heuristic on decoupled states, seeded with per-fact leaf prices.
- Incident-arcs factoring incident arcs
Strict-star factoring strategy by incident causal-graph arcs.
- Inverted-fork factoring inverted fork
Factors the task into an inverted fork: leaves that the center depends on.
- Leaf reduction simulation-based leaf reduction · superfluous-transition removal
Optional simulation-based leaf reduction that removes superfluous leaf transitions in a sound order, with a reduced task for heuristics.
-
Admissible LM-cut adapter on decoupled states, from planning-heuristics.
- Maximum-leaves factoring independent-set factoring · max leaves
Strict-star factoring that picks an independent set with the maximum number of leaves.
- Merge-and-shrink M&S · merge-and-shrink heuristic · merge-and-shrink abstraction feature
merge-and-shrinkAdmissible merge-and-shrink heuristic adapter on decoupled states, from the merge-and-shrink crate.
- Strong stubborn sets decoupled strong stubborn sets · partial-order reduction
Optional partial-order reduction with the decoupled strong stubborn sets of Gnad, Hoffmann and Wehrle for general star factorings.
-
Represents leaf pricing functions as BDDs for leaves too large to enumerate, optionally with a symbolic center.
- X-shape factoring X-shape
Factors the task into an X-shape with both fork and inverted-fork leaves.