APM: RSMC version 1.0 (not 1.0a) from ipisvn
This commit is contained in:
24
in/old_syntax/u1.rs
Normal file
24
in/old_syntax/u1.rs
Normal file
@@ -0,0 +1,24 @@
|
||||
#
|
||||
# Coffee machine RS
|
||||
#
|
||||
|
||||
reactions {
|
||||
|
||||
{ { a1;a4; },{ a2; } -> { a1;a2; } };
|
||||
{ { a2; },{ a3; } -> { a1;a3;a4; } };
|
||||
{ { a1;a3; },{ a2; } -> {a1;a2;} };
|
||||
{ {a3;},{a2;} -> {a1;} };
|
||||
}
|
||||
|
||||
action-atoms { a4; }
|
||||
|
||||
initial-state { a1; a4; }
|
||||
|
||||
#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 ) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user