Planning & Search in Rust
Esc

Loading…

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

miniplan

Grounded classical PDDL planner library with breadth-first, A*, greedy best-first and bidirectional search and hFF, hadd and hmax heuristics

cargo add miniplan

Who it is for

  • Students and engineers learning classical planning, who want a planner small enough to read end to end, with the textbook searches and heuristics side by side.
  • Rust developers who need to solve small and medium PDDL tasks (puzzles, logistics, robot task sequencing) in-process, without shelling out to an external planner.
  • Researchers comparing forward, bidirectional and heuristic search on the same grounded task, with node counts and timings from --stats.
  • If you only need to parse, check or write PDDL, use pddl-rs directly. For heuristic search over your own graph rather than a PDDL task, see heuristic-search, and for width-based search without a heuristic, width-search.

Part of the planning and search crates; see also this crate's overview page.

Algorithms 11

  • A* A star

    A* with pluggable heuristics over the grounded task (optimal).

    Astar

  • BAE* Bidirectional A* with error · Bidirectional A* with Error

    Heuristic-guided Bidirectional A* with Error over the grounded task.

    Bae

  • Bidirectional BFS Bidirectional breadth-first search · bidirectional breadth-first search · bibfs-uc

    Uniform-cost bidirectional breadth-first search over the grounded task.

    BibfsUc

  • Cost-aware bidirectional Dijkstra over the grounded task (optimal).

    BiDij

  • Counts the unsatisfied goal facts of a state.

    GoalCountHeuristic

  • hadd h_add · Additive heuristic · additive heuristic

    Additive delete-relaxation heuristic on the grounded task.

    HAdd

  • hFF FF heuristic · h_FF · relaxed plan heuristic

    Relaxed-plan FF heuristic on the grounded bitset task.

    HFF

  • hmax max heuristic · h_max

    Max delete-relaxation heuristic on the grounded task.

    HMax

  • NBS Near-Optimal Bidirectional Search

    Heuristic-guided Near-Optimal Bidirectional Search over the grounded task.

    Nbs