Model interleaving3¶
Cited in: [GulwaniJK09] fig. 4 p. 5.
Tags: complexity, nonlinear.
Figure¶
Source code¶
model gulwani_jain_koskinen_pldi09_05c {
var i, m, n, c;
states q;
transition t2 := {
from := q;
to := q;
guard := i > 0 && i >= m;
action := i' = i - m, c' = c + 1;
};
transition t1 := {
from := q;
to := q;
guard := i > 0 && i < m;
action := i' = i - 1, c' = c + 1;
};
}
strategy gulwani_jain_koskinen_pldi09_05c_s {
Region init := {state = q && 0 < m && m < n && i = n};
}