Refactor + tests (#6)

- Minor codebase clean-up
- Slight reorganisation of examples + tests so that we don't break stuff by accident
- CI tests
This commit was merged in pull request #6.
This commit is contained in:
2026-04-10 18:16:49 +01:00
committed by GitHub
parent 363446821e
commit f0019619b3
74 changed files with 1672 additions and 930 deletions

View File

@@ -0,0 +1,19 @@
#
# Coffee machine RS
#
reactions {
{ { e1; e4; }, { e2; } -> { e1; e2; } };
{ { e2; }, { e3; } -> { e1; e3; e4; } };
{ { e1; e3; }, { e2; } -> { e1; e2; } };
{ { e3; }, { e2; } -> { e1; } };
}
action-atoms { e4; }
initial-state { e1; e4; }
ctl-property { EF ( coffee_ready ) }
#ctl-property { AG( coffee_ready IMPLIES ~water_ready ) }
#ctl-property { AG( failure IMPLIES AX ~busy ) }
#ctl-property { EG ( EF coffee_ready ) }