Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme

28 Rust crates

Planning and search, one crate at a time

Heuristic and multi-objective graph search, classical planning with its heuristics, multi-agent pathfinding and task allocation, planning under uncertainty, adversarial game-tree search, constraint satisfaction, motion planning, reachability, QUBO models and quantum search, and onboard scheduling. Each crate does one job, shares the same core traits where it makes sense, and documents the algorithms it implements.

Find your way in

Classical planning: heuristics

Estimates that guide the search: delete relaxation, landmarks, merge-and-shrink abstractions and cost partitioning.

planning-heuristics

Heuristics for classical planning: delete relaxation (hmax, hadd, hFF), red-black, landmarks, LM-cut, operator counting and abstraction adapters

merge-and-shrink

Merge-and-shrink abstraction heuristics for SAS+ planning, with DFP and SCC-DFP merging, label reduction and bisimulation shrinking

cost-partition

Saturated cost partitioning and its maximum over orders for admissible planning heuristics over arbitrary abstractions

Multi-agent

Many agents at once: collision-free paths on grids and graphs, and who does which task, agreed without a central planner.

mapf-search

Multi-agent pathfinding on grids and graphs: CBS with its improvements, CBS-TA, FOCBS, ECBS, ICTS, PBS, PIBT, PIBT*_T, M*, EPEA*, MAPF-LNS2 and multi-objective MO-CBS

task-allocation

Decentralized multi-agent task allocation: consensus-based bundle algorithm (CBBA) and auctions that converge to conflict-free assignments over delayed, intermittent communication

Planning under uncertainty

Probabilistic outcomes and partial observability: MDPs and POMDPs.

stochastic-search

Planning under probabilistic outcomes for MDPs and POMDPs: LAO*, iLAO*, CG-iLAO*, RTDP, LRTDP, BRTDP, FRTDP, VPI-RTDP, POMCP, DESPOT and multi-objective MOLAO*, iMOLAO* and MOLRTDP

Game-tree search

Choosing a move when an opponent chooses the next one: minimax, alpha-beta and its successors, expectimax for chance, and Monte Carlo tree search, under a frame budget.

game-tree-search

Adversarial game-tree search for computer opponents in board, card and turn-based games: minimax, negamax, alpha-beta, principal variation search, MTD(f), iterative deepening with transposition tables, expectimax and Monte Carlo tree search

Constraint satisfaction

Small finite domains and the constraints that prune them: puzzles, deduction with hidden information, and small schedules.

constraint-search

Finite-domain constraint satisfaction for puzzles and deduction games: check that a puzzle has one solution, give human-style hints and grade difficulty, infer hidden facts, with propagation, all-different reasoning, backtracking and solution counting

Motion planning

Paths and trajectories through continuous space: sampling-based, robust under bounded uncertainty, and evolutionary.

sampling-planning

Sampling-based motion planning for no_std: RRT, RRT*, RRT-Connect, PRM, SPARS, FMT*, BIT*, AIT*, SST and KPIECE

robust-planning

Motion planning over reachable sets under bounded uncertainty: Robust-RRT, Robust RRT* and reachability-guided A* with conservative safety proofs

evolutionary-planning

Evolutionary planning for no_std: genetic algorithms, evolution strategies, CMA-ES and multi-objective evolutionary search over plans, paths and trajectories

Reachability

Where a system could possibly end up: set-based reachability with sparse polynomial zonotopes.

polyzonotope

Sparse polynomial zonotopes, zonotopes and interval boxes for set-based reachability analysis, no_std and optionally with outward rounding

polyzonotope-reach

Validated reachable-set over-approximation of linear and nonlinear dynamics with sparse polynomial zonotopes

Scheduling

Onboard execution: temporal networks with uncertainty and resource timelines for energy, memory, thermal and communication budgets.

temporal-control

Simple temporal networks with uncertainty: dynamic controllability checking, dispatchable networks and a no_std, no-alloc onboard dispatcher

resource-timeline

Resource timelines for onboard scheduling: energy, memory, thermal and communication budgets with explained violations, envelopes and allocation-free storage

Diagrams

Routing many orthogonal connectors through a diagram or schematic at once.

connector-routing

Connector routing for diagrams and schematics: many orthogonal connectors at once with bend, length and crossing costs, negotiated congestion, rip-up and reroute, and nudging

Quantum & QUBO

Planning problems as QUBO and Ising models, for annealers, QAOA and classical samplers, and quantum search on a simulator, measured in oracle queries.

planning-qubo

Planning, scheduling and constraint problems as QUBO and Ising models: encoders, decoders, penalty tuning, classical samplers and export for quantum annealers and QAOA

quantum-planning

Quantum algorithms for planning and search, on simulators: Grover search, quantum backtracking, amplitude estimation, quantum walks on game trees and QAOA

PDDL tooling

Reading PDDL into typed Rust, and checking plans against PDDL domains and problems.

pddl

A PDDL 3.1 parser, strongly typed

pddl-validate

Independent PDDL plan validator: classical, numeric and temporal plans with precise diagnostics

Foundations

The shared vocabulary: cost, heuristic, goal and budget traits, and SAS+ planning tasks in the Fast Downward format.

search-core

Shared cost, heuristic, goal and budget traits for search and planning crates, with exact no_std cost types

sas-plus

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