Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

SIW

Also known as Serialized Iterated Width, Serialized IW

search width-search

Serialized Iterated Width (SIW) reaches the goal one part at a time. From the current state it runs IW(1), IW(2), … up to a bound max_k until it finds a state with fewer unsatisfied goals. It appends that subplan, moves to the new state, and starts again with empty novelty tables. SIW is fast when the goals can be reached one after another, each with low width, but it is neither complete nor optimal: it fails when no next subgoal is reachable within max_k, for example in a dead end that an earlier subplan left. This version accepts any drop in the goal count; LAPKT's SIW also keeps the goals it already reached, so its plans can be shorter.

Pseudocode

algorithm SIW(s₀, k-max)input: initial state s₀, largest width k-maxoutput: a plan to a goal state, or failures ← s₀π ← empty planwhile not goal(s) dog ← unsatisfied-goals(s)π′ ← failurefor k in 1, …, k-max do         ▷ each run starts with an empty novelty tableπ′, s′ ← iw-from(s, k, subgoal: goal(x) or unsatisfied-goals(x) < g)if π′ ≠ failure thenbreakif π′ = failure thenreturn failure                 ▷ no subgoal within width k-maxπ ← π · π′s ← s′return π

In the crates

  • width-search

    A simplified serialized IW that runs iterated width from the current state until the goal count drops, appends that subplan, and repeats.

    siw

Lineage

Comes from

builds on IW

Led to

Nothing on this site.

Papers

  1. Width and Serialization of Classical Planning Problems Nir Lipovetzky, Hector Geffner · 2012· ECAI 2012 (Frontiers in Artificial Intelligence and Applications) introduces doi 10.3233/978-1-61499-098-7-540