Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
Overview

For AI planning researchers and planner authors

Classical planning needs a task model, heuristics, abstractions and a search that combines them. These crates share one SAS+ task representation and read Fast Downward output. You can compare and combine them without porting C++, and check every plan independently.

Start here

sas-plus

SAS+ / finite-domain planning tasks compatible with Fast Downward's translator, with labeled transition systems, projections and test oracles

Gives the SAS+ task model, transition systems and abstractions that the other planning crates build on.

First step. Read a Fast Downward translator file into a Task, then try a heuristic from planning-heuristics with A*.

cargo add sas-plus

Then look at

  • planning-heuristics

    Gives h_FF, red-black planning, landmarks, LM-cut and landmark cost partitioning on one task model.

  • merge-and-shrink

    Builds abstraction heuristics over all variables of a task at once.

  • cost-partition

    Adds several abstraction heuristics admissibly with saturated cost partitioning.

  • decoupled-search

    Searches star-topology factorings, for tasks with a center and many weakly interacting leaves.

  • symbolic-search

    Searches with BDDs for optimal plans, or proves that no plan exists, on very large state spaces.

  • width-search

    Gives width-based search (IW, SIW, BFWS) with an adapter for SAS+ tasks.

  • pddl

    Parses PDDL 3.1 into strongly typed Rust, and grounds a task into SAS+ with its sas-plus feature.

  • miniplan

    A small reference planner: it plans directly from PDDL, as a library or as a command line tool.

  • pddl-validate

    Validates plans independently of any planner, with precise diagnostics.

Algorithms to read first