Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
Classical planning: search

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_std targets.
  • Tasks without a useful star factoring gain nothing from decoupling; Factoring::auto then 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.

    astar

  • Anytime A* Anytime Fork-Root A*

    Gnad and Hoffmann's Anytime Fork-Root A* over decoupled states, cost-optimal.

    anytime_astar

  • Dijkstra's algorithm Dijkstra · Uniform-cost search · UCS

    Cost-optimal uniform-cost search over decoupled states.

    searchConfig

  • 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.

    PruningConfig

  • Fork factoring fork decomposition

    Factors the task into a fork: a center whose leaves depend only on it.

    fork

  • Generalized factoring generalized star factoring

    Generalized factorings with directly interacting leaves and a possibly empty center.

    generalized

  • hFF FF heuristic · h_FF · relaxed plan heuristic

    FF heuristic on decoupled states, seeded with per-fact leaf prices.

    HFf

  • hmax max heuristic · h_max

    Admissible max heuristic on decoupled states, seeded with per-fact leaf prices.

    HMax

  • Strict-star factoring strategy by incident causal-graph arcs.

    incident_arcs

  • Factors the task into an inverted fork: leaves that the center depends on.

    inverted_fork

  • 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.

    Configreduced_task

  • LM-cut landmark-cut · h^LM-cut · h_LM-cut feature lm-cut

    Admissible LM-cut adapter on decoupled states, from planning-heuristics.

    LmCutHeuristic

  • Maximum-leaves factoring independent-set factoring · max leaves

    Strict-star factoring that picks an independent set with the maximum number of leaves.

    max_leaves

  • Merge-and-shrink M&S · merge-and-shrink heuristic · merge-and-shrink abstraction feature merge-and-shrink

    Admissible merge-and-shrink heuristic adapter on decoupled states, from the merge-and-shrink crate.

    MasHeuristic

  • 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.

    Config

  • Symbolic leaf representation symbolic leaves · BDD leaf pricing functions feature symbolic-leaves

    Represents leaf pricing functions as BDDs for leaves too large to enumerate, optionally with a symbolic center.

    Config

  • Factors the task into an X-shape with both fork and inverted-fork leaves.

    x_shape