Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Reachability-guided A*

Also known as reachability-guided search

search robust-planning

Reachability-guided A* plans a path for a system with an uncertain state and proves that the path is safe. Each search node holds a nominal state and its reachable set: every state that the system can be in there. To expand a node, the search tries each motion primitive, propagates the set along the edge, and keeps the edge only if every set along it is proven free of obstacles. It returns the first node, in order of f = g + h, whose whole set is proven inside the goal; with an admissible h (the default h = 0 is one), this is the cheapest proven path among the nodes it keeps. It drops a new node when an older node in the same lattice cell costs no more and its interval hull lies inside the new one; this never affects safety, but it can lose completeness in narrow passages.

Pseudocode

algorithm ReachSearch(x₀, X₀, P, h)input: nominal start x₀, start set X₀, motion primitives P, heuristic houtput: a nominal path whose reachable sets are proven safe and end inside the goal, or failureg[n₀] ← 0                              ▷ node n₀ holds x₀ and X₀OPEN ← {n₀}                            ▷ ordered by f = g + h, oldest first on tieswhile OPEN ≠ ∅ don ← extract-min(OPEN)if superseded(n) thencontinueif goal-contains(set(n)) thenreturn path-to(n)for each p in P docontrol, x′ ← steer(nominal(n), nominal(n) + p)if |x′ − nominal(n)| > 0 and x′ ∈ bounds thenverdict, X′ ← check-edge(set(n), control)  ▷ propagate, then test every cover setif verdict = Safe thenc ← g[n] + cost(nominal(n), x′, X′)if not dominated(cell(x′), X′, c) thenn′ ← node(x′, X′, parent: n)g[n′] ← cinsert(OPEN, n′)supersede the nodes of cell(x′) that n′ dominatesreturn failure

In the crates

  • robust-planning

    A* over reachable-set nodes along motion primitives on a lattice of nominal states, keeping only edges proven safe and returning the first node whose whole set is proven inside the goal.

    ReachSearch

Lineage

Comes from

builds on A*

Led to

Nothing on this site.