Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Limited-horizon Bellman update

Also known as LHB

search heuristic-search

The limited-horizon Bellman update (LHB) improves a learned heuristic table with a short search, not with a single step. A single-step Bellman update sets a state's value to the best edge cost plus the neighbour's value; LHB looks further. It runs A* from a state for at most a fixed number of expansions, which gives a search graph of the generated states and edges, whose leaves are the states without children. Every other state gets the minimum, over the leaves it can reach, of the cheapest path cost to the leaf plus the leaf's old value, and goal states get 0. The crate computes this with one backward run of Dijkstra's algorithm from the leaves, offline (lhb_update) or as the learning step of the LSS-LRTA* agent (lhb_lrta_star), and from an admissible table the values stay admissible.

Pseudocode

algorithm LHB-Update(s, h, k)input: sample state s, learned heuristic table h, expansion limit koutput: the table h with new values around sG ← the search graph of A* from s with heuristic h   ▷ at most k expansions, stops at a goalQ ← ∅                                        ▷ ordered by vfor each n in G doif n has no children in G thenv[n] ← h(n)                              ▷ a leaf keeps its old valueinsert(Q, n)elsev[n] ← ∞while Q ≠ ∅ do                               ▷ Dijkstra backwards from the leavesn ← extract-min(Q)for each edge (p, n) of G with cost c doif v[n] + c < v[p] thenv[p] ← v[n] + cinsert-or-update(Q, p)for each n in G that has children in G or is a goal doif goal(n) thenv[n] ← 0h(n) ← v[n]                                ▷ ∞ marks a dead endreturn h

In the crates

Lineage

Comes from

builds on LSS-LRTA*

Led to

Nothing on this site.

Papers

  1. Beyond Single-Step Updates: Reinforcement Learning of Heuristics with Limited-Horizon Search Gal Hadar, Forest Agostinelli, Shahaf S. Shperberg · 2025 introduces arXiv 2511.10264