Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Rollout IW

Also known as Rollout IW(1)

search width-search

Rollout IW(1) is a depth-first form of IW(1) for problems where breadth-first layers are too wide, such as Atari games. It repeats random rollouts: walks down from the root, each step to a random child that is not solved (a solved node needs no more search). For each feature it keeps the smallest depth at which a node reached it. A rollout enters a new node only if the node reaches some feature at a smaller depth than before; otherwise it labels the node solved. Like IW(1), it reaches every goal of width 1, but its plans need not be shortest; this version runs until it finds a goal or the root is solved, while the paper uses it to choose actions within a time budget.

Pseudocode

algorithm Rollout IW(s₀)input: initial state s₀output: a plan to a goal state, or failureif goal(s₀) thenreturn empty pland[f] ← ∞ for each feature f, and 0 for each f ∈ features(s₀)while not solved(s₀) don ← s₀while true do                    ▷ one rolloutif children[n] = nil thenchildren[n] ← successors(n), each at depth[n] + 1if some child c of n is a goal thenreturn plan-to(c)if every child of n is solved thensolve(n)breakn ← a random child of n that is not solvedif not novel(n) thensolve(n)breakreturn failurefunction novel(n)if visited[n] then                 ▷ keep it only if no shallower node took its featuresreturn ∃ f ∈ features(n) with d[f] = depth[n]visited[n] ← trueF ← {f ∈ features(n) : depth[n] < d[f]}for each f in F dod[f] ← depth[n]return F ≠ ∅procedure solve(n)label n solvedwhile n has a parent p and every child of p is solved dolabel p solvedn ← p

In the crates

  • width-search

    Depth-first rollouts that prune a node unless it reaches some feature at a smaller depth than before, running until a goal is found or the root is solved.

    rollout_iw

Lineage

Comes from

builds on IW

Led to

Nothing on this site.

Papers

  1. Planning With Pixels in (Almost) Real Time Wilmer Bandres, Blai Bonet, Hector Geffner · 2018· Proceedings of the AAAI Conference on Artificial Intelligence introduces doi 10.1609/aaai.v32i1.12095 arXiv 1801.03354