Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
Overview

For route planning and logistics

A route often has more than one cost: time, distance, price, risk. One "best" route hides the trade-off. These crates find shortest paths, compute the full set of best trade-offs (the Pareto front), and coordinate many vehicles.

Start here

multiobjective-search

Multi-objective shortest paths over Pareto frontiers: BOA*, BOBA*, EMOA*, NAMOA*dr, A*pex and their approximate, anytime and parallel variants

Shows the trade-off between two or more costs on road networks or grids, exactly or within a guaranteed factor.

First step. For two costs, start with BOA*; for a quick approximate front, use BOA*ε or A*pex.

cargo add multiobjective-search

Then look at

  • heuristic-search

    Finds a single cheapest path when there is only one cost, faster and simpler.

  • mapf-search

    Plans collision-free routes for fleets of robots or AGVs in a warehouse.

  • evolutionary-planning

    Gives a Pareto front with NSGA-II, NSGA-III or MOEA/D when the costs come from a simulation.

Algorithms to read first