Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

IWLS95

Also known as IWLS95 schedule, conjunctive partitioning with early quantification

other symbolic-search

IWLS95 orders the parts of a conjunctively partitioned transition relation. In conjunctive partitioning, an operator relation is a conjunction of small BDDs, and the image conjoins them one by one and removes (quantifies) each variable as soon as no later part mentions it. This early quantification keeps the intermediate BDDs small, but only with a good order. IWLS95 picks the next part by the weighted score 2·v/w + w/x + y/z + m/M, which rewards parts that let many variables be quantified now and parts whose variables sit deep in the BDD variable order. Every order gives the same image; only the size of the intermediate BDDs changes.

Pseudocode

algorithm IWLS95 schedule(Q, X)input: conjuncts Q of one operator relation, smoothing variables Xoutput: an order of Q for the relational product with early quantificationorder ← ⟨⟩if Q has a precondition conjunct on untouched variables thenmove it from Q to the end of orderwhile Q ≠ ∅ doM ← largest variable level of a smoothing variable in Qfor each c in Q dov ← number of smoothing variables that only c still mentionsw ← number of smoothing variables in the support of cx ← number of smoothing variables still mentioned by Qy ← number of next-state variables c introducesz ← number of next-state variables Q still introducesm ← largest level of a smoothing variable of cbenefit[c] ← 2·v/w + w/x + y/z + m/M      ▷ a ratio with denominator 0 is 0c ← the conjunct with the largest benefit  ▷ ties: smaller supportmove c from Q to the end of orderreturn orderfunction image(S, order)for each cluster K of consecutive conjuncts in order doS ← ∃ (current bits no later cluster mentions). S ∧ Kreturn S with next bits renamed to current bits

In the crates

Papers

  1. Efficient BDD algorithms for FSM synthesis and verification R. K. Ranjan, A. Aziz, R. K. Brayton, B. Plessier, C. Pixley · 1995· International Workshop on Logic Synthesis (IWLS 1995) introduces