Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

RTAA*

Also known as Real-Time Adaptive A*

search heuristic-search

RTAA* (Real-Time Adaptive A*) is a real-time search with the same lookahead and moves as LSS-LRTA*: A* from the agent's state for at most n expansions, then a move toward the best open state. Its learning step is cheaper. With f the g + h of the state where A* stopped, each expanded state s gets the value f − g(s), with no second search. These values are lower than or equal to those of LSS-LRTA*, so it learns less per step but each step costs less. From an admissible table the values stay admissible.

Pseudocode

algorithm RTAA*(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 expansionsif t = nil then                            ▷ OPEN ran empty: no goal is reachablefor each x in CLOSED doH[x] ← ∞                               ▷ mark them dead endsreturn failuref ← g[t] + H[t]                            ▷ t: the goal A* selected, or the best open statefor each x in CLOSED doH[x] ← f − g[x]                          ▷ no second searchmove along the A* path from s to ts ← treturn the path travelled

In the crates

Lineage

Comes from

builds on LSS-LRTA*

Led to

Nothing on this site.

Papers

  1. Real-time adaptive A* Sven Koenig, Maxim Likhachev · 2006· Proceedings of the Fifth International Joint Conference on Autonomous Agents and Multiagent Systems (AAMAS) introduces doi 10.1145/1160633.1160682