Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Bisimulation

Also known as goal-respecting bisimulation, exact bisimulation

abstraction merge-and-shrink

Bisimulation is a shrink strategy for merge-and-shrink: it groups the states of a factor (one transition system of the factored task) that behave alike. Two states are bisimilar when both are goal states or both are not, and every label leads them into the same group. The crate starts with groups of equal goal distance and splits each group by the (label, target group) pairs of its states (signature refinement), until no group splits. On plain SAS+ tasks without a size limit, the final heuristic is then perfect: it equals the optimal cost on every state (every reachable state, with pruning). With max_states, it stops splitting at the limit, and the heuristic stays admissible (it never overestimates).

Pseudocode

algorithm Bisimulation(Θ, c, N)input: factor Θ with states S and transitions T, label costs c, size limit N ≥ 1output: a block for each state of Θ, at most N blocksh ← goal-distances(Θ, c)for each s in S doblock[s] ← id-of(h[s] = ∞, h[s], goal(s))     ▷ ids ordered by goal distance, dead ends lastif number-of-blocks(block) > N thenfor each s in S doblock[s] ← min(block[s], N − 1)                ▷ combine the farthest blocksrepeatfor each s in S dosig[s] ← (block[s], {(l, block[t]) : (s, l, t) ∈ T})new ← id-of(sig)                                ▷ equal signatures share an idif number-of-blocks(new) > N thenreturn split-at-limit(block, new, N)changed ← number-of-blocks(new) > number-of-blocks(block)block ← newuntil not changedreturn blockfunction split-at-limit(block, new, N)k ← number-of-blocks(block)SPLIT ← ∅for each block b in increasing id order do       ▷ closest to the goal firstp ← number of parts of b in newif k + p − 1 > N thenbreakSPLIT ← SPLIT ∪ {b}k ← k + p − 1return apply-splits(block, new, SPLIT)

In the crates

Lineage

Comes from

Nothing on this site.

Led to

Greedy bisimulation builds on it

Papers

  1. Directed Model Checking with Distance-Preserving Abstractions Klaus Dräger, Bernd Finkbeiner, Andreas Podelski · 2006· Model Checking Software (SPIN 2006), Lecture Notes in Computer Science introduces doi 10.1007/11691617_2
  2. Computing Perfect Heuristics in Polynomial Time: On Bisimulation and Merge-and-Shrink Abstraction in Optimal Planning Raz Nissim, Jörg Hoffmann, Malte Helmert · 2011· Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence (IJCAI 2011) extends
  3. Merge-and-Shrink Abstraction: A Method for Generating Lower Bounds in Factored State Spaces Malte Helmert, Patrik Haslum, Jörg Hoffmann, Raz Nissim · 2014· Journal of the ACM extends doi 10.1145/2559951