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-rsdirectly. For heuristic search over your own graph rather than a PDDL task, seeheuristic-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).
- BAE* Bidirectional A* with error · Bidirectional A* with Error
Heuristic-guided Bidirectional A* with Error over the grounded task.
- Bidirectional BFS Bidirectional breadth-first search · bidirectional breadth-first search · bibfs-uc
Uniform-cost bidirectional breadth-first search over the grounded task.
- Bidirectional Dijkstra BiDij
Cost-aware bidirectional Dijkstra over the grounded task (optimal).
-
Blind breadth-first search over the grounded task (optimal).
- Goal-count heuristic goal count
Counts the unsatisfied goal facts of a state.
- Greedy best-first search GBFS · symbolic greedy best-first search
Greedy best-first search over the grounded task (fast, non-optimal).
- hadd h_add · Additive heuristic · additive heuristic
Additive delete-relaxation heuristic on the grounded task.
- hFF FF heuristic · h_FF · relaxed plan heuristic
Relaxed-plan FF heuristic on the grounded bitset task.
- hmax max heuristic · h_max
Max delete-relaxation heuristic on the grounded task.
- NBS Near-Optimal Bidirectional Search
Heuristic-guided Near-Optimal Bidirectional Search over the grounded task.