Philipp Haller
Reactive threshold reads
• Determinism requires restricting the threshold set
• Example: powerset lattice
17
cell2.whenNext(cell1, Set(Set(2), Set(2, 5))) { v =>
NextOutcome(v)
}
Init state: cell1 = Set(0), cell2 = Set(0)
• Permits non-deterministic executions
cell1.putNext(Set(2))
cell1.putNext(Set(2, 5))
=> handler sees Set(2)
cell1.putNext(Set(2, 5))
cell1.putNext(Set(2))
=> handler sees Set(2, 5)