Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
Overview

For students and the curious

You want to know how a route planner or a game AI finds its way. Start with the algorithm pages: each shows the algorithm run step by step, gives its pseudocode, and names the paper that introduced it. Then use the crate that implements it.

Start here

heuristic-search

Explicit-state heuristic graph search: A*, weighted and anytime, bounded-suboptimal, bidirectional, incremental and real-time search

Implements the classic graph searches behind one interface, so you can compare them on the same problem.

First step. Read Dijkstra's algorithm, then A*, and see how the estimate h changes the order of expansion.

cargo add heuristic-search

Then look at

  • sampling-planning

    Shows how robots plan in continuous space, and its example draws eleven planners on one world.

  • stochastic-search

    Lets you compare the MDP heuristic search algorithms on the same problems.

  • mapf-search

    Lets you switch the improvements of CBS on and off one at a time.

Algorithms to read first