Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

EES

Also known as Explicit Estimation Search

search heuristic-search

EES (Explicit Estimation Search) finds a path that costs at most w times the optimum. It uses three estimates: an admissible heuristic h (it never overestimates), which proves the bound; a more accurate cost estimate ĥ, which may overestimate; and d̂, an estimate of the number of steps to the goal. Its first choice is the open state with the smallest d̂ among those with f̂ = g + ĥ ≤ w · f̂_min. It takes that state only if its f̂ is at most w · f_min, with f = g + h; else it takes the state with the smallest f̂ under the same test, and else the state with the smallest f, which raises f_min. Use it when solution cost and solution length differ and you have good estimates of both.

Pseudocode

algorithm EES(S₀, goal, h, ĥ, d̂, w)input: start states S₀, goal test goal, admissible heuristic h, cost estimate ĥ, distance estimate d̂, weight w ≥ 1output: a path to a goal that costs at most w times the optimum, or failurefor each s in S₀ dog[s] ← 0insert(OPEN, s)while OPEN ≠ ∅ dos ← select-node(OPEN)remove(OPEN, s)if goal(s) thenreturn path-to(s)for each (s′, c) in successors(s) doif g[s] + c < g[s′] theng[s′] ← g[s] + cparent[s′] ← sinsert-or-update(OPEN, s′)             ▷ reopens a closed statereturn failurefunction select-node(OPEN)best-f ← the state of OPEN with the smallest f = g + h      ▷ the cleanup orderbest-f̂ ← the state of OPEN with the smallest f̂ = g + ĥFOCAL ← { s ∈ OPEN : f̂(s) ≤ w · f̂(best-f̂) }best-d̂ ← the state of FOCAL with the smallest d̂B ← w · f(best-f)if f̂(best-d̂) ≤ B thenreturn best-d̂else if f̂(best-f̂) ≤ B thenreturn best-f̂return best-f

In the crates

Papers

  1. Bounded Suboptimal Search: A Direct Approach Using Inadmissible Estimates Jordan T. Thayer, Wheeler Ruml · 2011· International Joint Conference on Artificial Intelligence (IJCAI) introduces