Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

FRTDP

Also known as Focused RTDP, Focused Real-Time Dynamic Programming

search stochastic-search

FRTDP (focused RTDP) keeps a lower bound L and an upper bound U on V*, the optimal expected cost of each state. It gives each state a priority from its gap U − L and the priorities of its successors. Trials do not sample: they follow the successor with the highest priority, up to a depth limit that grows when deep updates pay off. The run stops when U − L ≤ ε at the start state, and the policy is greedy on U. Use it like BRTDP when the probable outcomes matter most; the crate adds a BRTDP trial after a trial that does not shrink the gap.

Pseudocode

algorithm FRTDP(s₀, goal, h_L, h_U, ε)input: initial state s₀, goal test goal, lower and upper heuristics h_L ≤ V* ≤ h_U, tolerance εoutput: bounds L ≤ V* ≤ U and a policy π greedy on UL[s], U[s] ← h_L(s), h_U(s) for each state s when it is first reachedD ← 10                                         ▷ depth limit, grows by k_D = 1.1while U[s₀] − L[s₀] > ε doTRAIL ← ⟨⟩s ← s₀ρ ← 1                                        ▷ probability of the path so farfor d in 0, 1, 2, … doappend(TRAIL, s)a ← back-up(s)                             ▷ backs up L and U, returns the L-greedy actionprio[s] ← min(U[s] − L[s] − ε/2, max over s′ of P(s′ | s, a) · prio[s′])track(Δ · ρ, d)                            ▷ Δ: change of the backup; early or late part of the trialif a = nil or U[s] − L[s] − ε/2 ≤ 0 or d ≥ D thenbreaks′ ← the successor with the highest P(s′ | s, a) · prio[s′]ρ ← ρ · P(s′ | s, a)s ← s′while TRAIL ≠ ⟨⟩ doback-up(pop(TRAIL))if the late updates were at least as good as the early ones thenD ← D · k_Dif U[s₀] − L[s₀] did not shrink thenbrtdp-trial()                              ▷ the crate's guard against a stallreturn L, U, π

In the crates

Lineage

Comes from

builds on RTDP

Led to

Nothing on this site.

Papers

  1. Focused Real-Time Dynamic Programming for MDPs: Squeezing More Out of a Heuristic Trey Smith, Reid Simmons · 2006· AAAI Conference on Artificial Intelligence introduces