Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

LSS-LRTA*

Also known as Local Search Space LRTA*

search heuristic-search

LSS-LRTA* (Local Search Space LRTA*) is a real-time search that looks further ahead than LRTA*. In each step it runs A* from the agent's state for at most n expansions. Then it runs Dijkstra's algorithm backwards from the A* open list and sets each expanded state's value to its cheapest cost to that frontier. The agent moves along the A* path to the best open state and plans again. From an admissible table the values stay admissible. A larger n gives better moves for more work per step.

Pseudocode

algorithm LSS-LRTA*(s₀, goal, H, n)input: start state s₀, goal test goal, learned table H, lookahead of n ≥ 1 expansionsoutput: the path travelled to a goal, or failure; H keeps what it learneds ← s₀while not goal(s) doCLOSED, OPEN, t ← lookahead(s, n)          ▷ A* by g + H, at most n expansionsfor each x in CLOSED doH[x] ← ∞D ← OPEN, each state o keyed by H[o]        ▷ Dijkstra backwards from the frontierwhile D ≠ ∅ doo ← extract-min(D)for each explored edge (x, o, c) with x ∈ CLOSED doif c + H[o] < H[x] thenH[x] ← c + H[o]insert-or-update(D, x, H[x])if t = nil then                            ▷ OPEN ran empty: CLOSED stays at ∞, dead endsreturn failuremove along the A* path from s to t         ▷ t: the goal A* selected, or the best open states ← treturn the path travelled

In the crates

Lineage

Comes from

builds on LRTA*

combines A*

Led to

Limited-horizon Bellman update builds on it

RTAA* builds on it

Papers

  1. Comparing real-time and incremental heuristic search for real-time situated agents Sven Koenig, Xiaoxun Sun · 2009· Autonomous Agents and Multi-Agent Systems introduces doi 10.1007/s10458-008-9061-x