Skip to content

Commit d8d34aa

Browse files
committed
another test case
1 parent e1cb0f7 commit d8d34aa

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

tests/incremental/test7/README

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Command line:
2+
./KaSaIncremental --current-chapter simple_example.ka --do-restart-fixpoint-iterations
3+
4+
On prompt:
5+
disable 0
6+
enable 0
7+
disable 1
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// define agents
2+
%agent: A(a{u p}, x, y)
3+
%agent: B(b{u p})
4+
%agent: C(c{u p})
5+
%agent: D(d{u p})
6+
7+
// initial states
8+
%init: 100 D(d{u})
9+
%init: 100 B(b{u})
10+
11+
// rules
12+
'create.A.if.D' D(),. -> D(),A(a{u}) @ 1
13+
'bind.A_A' A(x[.]), A(y[.]) -> A(x[1]), A(y[1]) @ 3
14+
'state.A.p' A(x[_], a{u}) -> A(x[_], a{p}) @ 1

0 commit comments

Comments
 (0)